package com.dingtalk.h5app.quickstart.domain.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.taobao.api.internal.mapping.ApiField;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.hibernate.annotations.GenericGenerator;


import javax.persistence.*;
import java.io.Serializable;
import java.util.List;

@Getter
@Setter
//没有排序字段
@JsonIgnoreProperties(ignoreUnknown = true)
@ToString
@Entity
@Table (name = "ProcessModuleVoEntity")
@GenericGenerator(name = "jpa-uuid", strategy = "uuid")//说明采用的生成器
public class ProcessModuleVoEntity implements Serializable{
    private static final long serialVersionUID = 4391466827572748695L;
    @Transient
    private List<ProcessInstanceEntity> processList;
    @Id
    @GeneratedValue(generator = "jpa-uuid")
    private String id;

    @ApiField("icon_url")
    private String iconUrl;
    @ApiField("name")
    private String name;
    @ApiField("process_code")
    private String processCode;
    @ApiField("url")
    private String url;


}
